﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace EFCore.Models;

[Table("CusetomOrder")]
public partial class CusetomOrder
{
    [Key]
    [Column("CusetomOrder_Id")]
    public Guid CusetomOrderId { get; set; }

    [Column("hSerial")]
    public string? HSerial { get; set; }

    [Column("moCode")]
    public string? MoCode { get; set; }

    public string? So { get; set; }

    public string? State { get; set; }

    public DateTime? CreateTime { get; set; }

    public DateTime? UpdateTime { get; set; }

    [InverseProperty("CusetomOrder")]
    public virtual ICollection<CusetomOrderLine> CusetomOrderLines { get; set; } = new List<CusetomOrderLine>();
}
